<template>
  <view class="role_main">
	  <u-parse :html="content"></u-parse>
  </view>
</template>

<script>
export default {
  components: {},
  data() {
    return {
		activeId:null,
		content:''
	};
  },
  onLoad(options) {
	  if(options && options.id){
		  this.activeId = Number(options.id)
		  this.getActieInfo()
	  }
  },

  methods: {
	  getActieInfo() {
	  	this.$loading();
	  	this.$resPost('GetGameInfo', { pk_id: this.activeId }).then(({ data }) => {
	  		this.content = data.remark
	  		this.$hide();
	  	});
	  },
  },
};
</script>

<style scoped lang="scss">
	.role_main{
		padding: 10rpx 20rpx;
	}
</style>
